//app.js
App({
    onLaunch(options){

    },
    onShow(options){

    },
    onHide(){

    },
    onError(msg){
        console.log(msg)
    },
    globalData:'I am a global data!',
    onPagesNotFound(res){
      wx.redirectTo({
        url: '"pages/logs/logs',
      })
    },
  onTabItemTab(item) {
    console.log(item.index)
    console.log(item.pagePath)
    console.log(item.text)
  },

})